<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/global.jsp" %>
<style>
</style>
<script type="text/javascript">
</script>
<div class="easyui-layout" data-options="fit:true,border:false" >
    <div data-options="region:'center',border:false" style="overflow-x:hidden;overflow-y: auto;padding: 3px;" >
        <a href="javascript:;" target="_blank" onclick="printHTML('print1')" class="easyui-linkbutton" data-options="iconCls:'fi-print icon-blue'">打印</a>
        <span>打印预览A4纸是210mmX297mm,表格宽度适度设置为700px</span>
        <div id="print1">
            <h4 style="text-align: center;font-size: 14px">请假申请</h4>
            <table class="grid table-print" border="1"  style="border-collapse: collapse; table-layout: fixed; line-height:22px; margin-top:3px">
                <tr>
                    <td style="text-align:right;">申请人</td>
                    <td>
                        测试
                    </td>
                </tr> <tr>
                <td style="text-align:right;">标题</td>
                <td>
                    测试打印
                </td>
            </tr><tr>
                <td style="text-align:right;">请假时间</td>
                <td>
                    2018-12-24
                </td>
            </tr>
                <tr>
                    <td style="text-align:right;">天数</td>
                    <td>
                        5
                    </td>
                </tr>
                <tr>
                    <td style="text-align:right;">请假原因</td>
                    <td>
                        生病请假
                    </td>
                </tr>
            </table>
        </div>
    </div>
</div>